file(GLOB_RECURSE analytical_model_cuda_sources *.cu *.cuh)
add_library(analytical_model_cuda_algorithm STATIC ${analytical_model_cuda_sources})
target_include_directories(analytical_model_cuda_algorithm PRIVATE "${CMAKE_SOURCE_DIR}/source")
target_include_directories(analytical_model_cuda_algorithm PUBLIC ${Boost_INCLUDE_DIRS})
target_link_directories(analytical_model_cuda_algorithm PRIVATE ${Boost_LIBRARY_DIR})
set_target_properties(analytical_model_cuda_algorithm PROPERTIES CUDA_ARCHITECTURES ${CMAKE_CUDA_ARCHITECTURES})
set_target_properties(analytical_model_cuda_algorithm PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
# if (CMAKE_SYSTEM_NAME MATCHES "Windows")
#     target_compile_definitions(analytical_model_cuda_algorithm PRIVATE _CRT_STDIO_ISO_WIDE_SPECIFIERS=1)
# endif()
# if(HAVE_STD_FORMAT)
#     target_compile_definitions(analytical_model_cuda_algorithm PRIVATE "HAVE_STD_FORMAT")
#     target_compile_options(analytical_model_cuda_algorithm PRIVATE "${STD_FORMAT_EXTRA_FLAGS}")
# else()
#     find_package(fmt REQUIRED)
#     target_link_libraries(analytical_model_cuda_algorithm PRIVATE fmt::fmt)
# endif()